package filter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

public class MyRequest extends HttpServletRequestWrapper{
	public MyRequest(HttpServletRequest request) {
		super(request);
	}
	
	public String getParameter(String s){
		String info = super.getParameter(s);
		String info2=info.replaceAll("dog", "cat");
		return info2;
	}
}
